﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ViewControl.ascx.cs" Inherits="CMS_Control_ViewControl" %>
<%@ Register Src="SetRole.ascx" TagName="SetRole" TagPrefix="uc1" %>
<%@ Register Src="HtmlEditor.ascx" TagName="HtmlEditor" TagPrefix="uc2" %>
<%@ Register Src="SetRoleEdit.ascx" TagName="SetRoleEdit" TagPrefix="uc3" %>
<%@ Register Src="Version.ascx" TagName="Version" TagPrefix="uc4" %>
<%@ Register Src="ArtType.ascx" TagName="ArtType" TagPrefix="uc5" %>
<%@ Register Src="PartControl.ascx" TagName="PartControl" TagPrefix="uc6" %>
<%@ Register Src="CmsRoleTreeView.ascx" TagName="CMS_Control_ViewControl" TagPrefix="uc1" %>
<%@ Register Src="SetTopChoose.ascx" TagName="SetTopChoose" TagPrefix="uc7" %>
<style>
    td
    {
        vertical-align: top;
    }
    .input
    {
    }
    .input input
    {
        width: 90%;
        border: #000 1px solid;
    }
    .input textarea
    {
        border: #000 1px solid;
    }
    .input select
    {
        width: 150px;
        border: #000 1px solid;
    }
    #tb
    {
        font-size: 13px;
        text-align: left;
        width: 95%;
        margin: 10px;
    }
    .tbtitle
    {
        width: 150px;
    }
</style>
<fieldset title="内容管理" style="margin: 10px; overflow: hidden;" runat="server" id="Cont">
    <legend style="font-size: large; font-weight: bold">内容管理<span id="IsCheckTxt" runat="server"
        style="color: Red"></span>
        <asp:Button ID="Del" runat="server" Text="永久删除" ForeColor="Red" OnClientClick="return confirm('永久删除内容,确认执行?')"
            OnClick="Del_Click" Visible="false" />
        <asp:Label ID="lblisSend" runat="server" Text="" ForeColor="Red"></asp:Label>
    </legend>
    <table id="tb">
        <tr>
            <td class="tbtitle">
                内容标题<span style="color: Red">*</span>：
            </td>
            <td class="input">
                <asp:TextBox ID="topic" runat="server" MaxLength="30"></asp:TextBox>
            </td>
            <td class="tbtitle">
                关键字：
            </td>
            <td class="input">
                <asp:TextBox ID="key" runat="server" Rows="30"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="tbtitle">
                摘要：
            </td>
            <td colspan="3" class="input">
                <asp:TextBox ID="zhaoyao" runat="server" TextMode="MultiLine" Width="100%" MaxLength="100"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="tbtitle">
                作者：
            </td>
            <td class="input">
                <asp:TextBox ID="zuozhe" runat="server" MaxLength="20" ReadOnly="true" BorderWidth="0px"></asp:TextBox>
            </td>
            <td class="tbtitle">
                浏览数：
            </td>
            <td>
                <asp:Label ID="dianji" runat="server" Text="0"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="tbtitle">
                浏览权限<span style="color: Red">*</span>：
            </td>
            <td class="input">
                <uc1:SetRole ID="SetRole1" runat="server" />
            </td>
            <td class="tbtitle">
                修改权限<span style="color: Red">*</span>：
            </td>
            <td class="input">
                <uc3:SetRoleEdit ID="SetRoleEdit1" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="tbtitle">
                格式：
            </td>
            <td class="input">
                <uc5:ArtType ID="ArtType1" runat="server" OnSelectionChanged="DoAdd" />
            </td>
            <td class="tbtitle">
                版本：
            </td>
            <td class="input" valign="top">
                <uc4:Version ID="Version1" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="tbtitle">
                设置精华：<br />
                <span style="color: Red">置顶显示</span>
            </td>
            <td>
                <uc7:SetTopChoose ID="SetTopChoose1" runat="server" />
            </td>
            <td style="color: Red" class="tbtitle">
                是否作废：<br />
            </td>
            <td>
                <asp:CheckBox ID="quxiaoxianshi" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="tbtitle">
                是否保密：<br />
            </td>
            <td>
                <asp:CheckBox ID="CbAudit" runat="server" Checked="True" />
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <uc2:HtmlEditor ID="HtmlEditor1" runat="server" />
            </td>
        </tr>
    </table>
</fieldset>
<uc6:PartControl ID="PartControl1" runat="server" />
<asp:HiddenField ID="hidartp" runat="server" />
<asp:HiddenField ID="hidtype" runat="server" />
<asp:HiddenField ID="hidborder" runat="server" />
<asp:HiddenField ID="hid" runat="server" />
<asp:HiddenField ID="dir" runat="server" />
<asp:HiddenField ID="filename" runat="server" />
<asp:HiddenField ID="oldformat" runat="server" />
<asp:HiddenField ID="CanView" runat="server" />
<asp:HiddenField ID="oldTime" runat="server" />
<asp:HiddenField ID="up" runat="server" />
<asp:HiddenField ID="down" runat="server" />
<asp:HiddenField ID="order" runat="server" />
<asp:HiddenField ID="oldorder" runat="server" />
